*{
	margin: 0;
	padding: 0;
}
html,body,#app{
	height: 100%;
	max-width: 640px;
	margin: 0 auto;
	overflow:hidden;
}
body{
	font-family: '微软雅黑';
}

/*开始页面*/
#startPage{
	height: 100%;
	background: url(../img/startback.jpg) no-repeat 0 bottom;
	-webkit-background-size: 100% auto;
	background-size: 100% auto;
	background-color: #679cf7;
	position: relative;
}
#startBanner{
	width:100%;
	height: 1.71rem;
	position: absolute;
	left:0;
	top:1.93rem;
	background: url(../img/banner.png) no-repeat 0 0;
	-webkit-background-size: contain;
	background-size: contain;
}
#startBtn{
	width: 4.8rem;
	height: 1rem;
	position: absolute;
	left: 0;
	right: 0;
	bottom: 1.24rem;
	margin: auto;
}
.linkBox{
	display: flex;
	display: -webkit-flex;
	justify-content: center;
	width:100%;
	height: .76rem;
	position: absolute;
	left:0;
	bottom: 0;
}
.linkBox:after{
	content:'';
	position: absolute;
	top:0;
	left:0;
	right:0;
	bottom:0;
	margin: auto;
	width:1px;
	height: .3rem;
	background: #ffffff;
}
.linkBox .linkItem{
	width:1.9rem;
	height: .76rem;
	line-height: .76rem;
	font-size: .28rem;
	color:#ffffff;
	text-align: center;
}

/*规则页面*/
#rulePage{
	height: 100%;
	background: #7e4e18 url(../img/tipback.jpg) no-repeat 0 0;
	-webkit-background-size: 100% auto;
	background-size: 100% auto;
	position: relative;
}
#countDown{
	position: absolute;
	left:0;
	right:0;
	margin:auto;
	top: 4.25rem;
	width: 2.78rem;
	height: 2.78rem;
	line-height: 2.78rem;
	color:#ffffff;
	font-size: 1.48rem;
	text-align:center;
}

/*游戏页*/
#gamePage{
	position: relative;
	width:100%;
	height: 100%;
	overflow: hidden;
}
#roadbox{
	width:100%;
	height: 100%;
	position: relative;
}
.backbox{
	background: url(../img/gameback.jpg) no-repeat 0 0;
	-webkit-background-size: 100% 100%;
	background-size: 100% 100%;
	width:100%;
	height: 100%;
}
#countBox{
	position: absolute;
	left:0;
	right:0;
	margin: auto;
	width:6.92rem;
	height: .9rem;
	top:1.58rem;
	background: url(../img/counterbox.png) no-repeat 0 0;
	-webkit-background-size: contain;
	background-size: contain;
	z-index: 9;
	color: #ffffff;
	line-height: .9rem;
	font-size: .36rem;
	text-align: center;
}
#countBox span{
	font-size: .38rem;
	margin: 0 .36rem;
}
#gameArea{
	width:5.9rem;
	height: 100%;
	position: absolute;
	top:0;
	left:0;
	right:0;
	margin:auto;
	background: url(../img/innerback.jpg) no-repeat 0 0;
	-webkit-background-size: 100% auto;
	background-size: 100% auto;
}
.person[type="2"]{
	width:1.46rem;
	height: 1.02rem;
	background: url(../img/person2.png) no-repeat 0 0;
	-webkit-background-size: contain;
	background-size: contain;
	position: absolute;
	left:1rem;
	top:0;
}
.person[type="3"]{
	width:1.76rem;
	height: 1.36rem;
	background: url(../img/person3.png) no-repeat 0 0;
	-webkit-background-size: contain;
	background-size: contain;
	position: absolute;
	left:3rem;
	top:0;
}
.person[type="5"]{
	width:2.2rem;
	height: 1.7rem;
	background: url(../img/person5.png) no-repeat 0 0;
	-webkit-background-size: contain;
	background-size: contain;
	position: absolute;
	left:1rem;
	top:0;
}
#self{
	width:1.03rem;
	height: 1.36rem;
	background: url(../img/self.png) no-repeat 0 0;
	-webkit-background-size: contain;
	background-size: contain;
	position: absolute;
	left:1rem;
	bottom:1.97rem;
	z-index: 7;
}
.getBomb:after{
	content:'';
	width:2.07rem;
	height: 2.14rem;
	position: absolute;
	top:-1.3rem;
	left:50%;
	transform: translateX(-50%);
	background: url(../img/bomb.png) no-repeat 0 0;
	-webkit-background-size: contain;
	background-size: contain;
}
#leftbtn{
	width:1.2rem;
	height: 1.27rem;
	background: url(../img/leftbtn.png);
	-webkit-background-size: contain;
	background-size: contain;
	position: absolute;
	bottom:.3rem;
	left:1.75rem;
}
#rightbtn{
	width:1.2rem;
	height: 1.27rem;
	background: url(../img/rightbtn.png);
	-webkit-background-size: contain;
	background-size: contain;
	position: absolute;
	bottom:.3rem;
	right:1.75rem;
}


/*失败页面*/
#failPage,#successPage{
	height: 100%;
	width:100%;
	background: rgba(0,0,0,.6);
	position: absolute;
	top:0;
	left:0;
	z-index: 20;
}
#failBox{
	width: 6.02rem;
	height: 8.21rem;
	position: absolute;
	left:0;
	right:0;
	margin: auto;
	top:2.74rem;
	background: url(../img/failbox.png) no-repeat 0 0;
	-webkit-background-size: contain;
	background-size: contain;
}
.btn{
	width:3.26rem;
	height: 1rem;
	position: absolute;
	left:0;
	right:0;
	margin:auto;
}
#failAgain{
	bottom: 1.88rem;
}
#failFriend{
	bottom: .58rem;
}

/*成功页面*/
#successBox{
	position: absolute;
	width:6.02rem;
	height: 10.09rem;
	left:0;
	right:0;
	margin:auto;
	top:0;
	bottom:0;
	background: url(../img/successbox.png) no-repeat 0 0;
	-webkit-background-size: contain;
	background-size: contain;
}
#successLottery{
	bottom:3.15rem;
}
#successAgain{
	bottom:1.86rem;
}
#successFriend{
	bottom:.56rem;
}